package com.example.OnlineStorage.pojo.entity;


import lombok.Getter;
import lombok.Setter;

import java.util.HashMap;

@Getter
@Setter
public class Directory extends Node {

    public Directory(String name, String path) {
        super(name, path,"Directory",null,new HashMap<>(),null);
    }

    @Override
    public boolean isDirectory() {
        return true;
    }
    @Override
    public boolean isFile() {
        return false;
    }
}